package com.zmzncs.lmtc.module.order.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zmzncs.lmtc.module.order.pojo.order_refund.OrderRefund;
import com.zmzncs.lmtc.module.order.pojo.order_refund.OrderRefundApplyForm;
import com.zmzncs.lmtc.module.order.pojo.order_refund.OrderRefundDTO;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;
import java.util.Map;

/**
 * <p>
 * 订单-退款 服务类
 * </p>
 *
 * @author 任建波
 * @since 2020-10-21
 */
public interface OrderRefundService extends IService<OrderRefund> {

    /**申请退款*/
    Map<String,Object> applyRefund(@RequestBody @Valid OrderRefundApplyForm form);
    /**查询退款信息*/
    IPage<OrderRefundDTO> getOrderRefundPage(Page page);

}
